package com.server.modules.api.service;

import com.server.modules.api.vo.FriendQueryVO;
import com.server.modules.sys.entity.friends.Friends;
import com.server.modules.sys.entity.member.Member;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by Administrator on 2016/9/2.
 */
@Transactional(readOnly = true)
public interface IFriendsService {
    @Transactional(readOnly = false)
    public void  addFriends(Friends friends);
    @Transactional(readOnly = false)
    public void   delFriends(Friends friends);
    public boolean  checkFriends(Friends friends);
    public String  getUserHxUserName(String id);
    public List<FriendQueryVO> getFriendsList(Member member);
}
